home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
bcmp.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
940b
|
27 lines
BCMP(3) UNIX Programmer's Manual BCMP(3)
NNAAMMEE
bbccmmpp - compare byte string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_i_n_t
bbccmmpp(_c_o_n_s_t _v_o_i_d _*_b_1, _c_o_n_s_t _v_o_i_d _*_b_2, _s_i_z_e___t _l_e_n)
DDEESSCCRRIIPPTTIIOONN
The bbccmmpp() function compares byte string _b_1 against byte string _b_2, re-
turning zero if they are identical, non-zero otherwise. Both strings are
assumed to be _l_e_n bytes long. Zero-length strings are always identical.
The strings may overlap.
SSEEEE AALLSSOO
memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strxfrm(3)
HHIISSTTOORRYY
A bbccmmpp() function first appeared in 4.2BSD.
4.2 Berkeley Distribution April 19, 1991 1